<% %>
<h1><%='Detail information'.t%></h1>
<div id=Tabs>
<%= link_to 'Edit'.t, :action => 'edit', :id => @project %> 
</div>
<table class="data">
<tr>
  <td><b><%='SN'.t%>:</b></td>
  <td><%=h @project.sn%></td>
</tr>
<tr>
  <td><b><%='Project Name'.t%>:</b></td>
  <td><%=h @project.name %></td>
</tr>
<tr>
  <td><b><%='Customer'.t%>:</b></td>
  <td><%=h @project.customer%></td>
</tr>
<tr>
  <td><b><%='start at'.t%>:</b></td>
  <td><%=h @project.start_at%></td>
</tr>
<tr>
  <td><b><%='end at'.t%>:</b></td>
  <td><%=h @project.end_at%></td>
</tr>
<tr>
  <td><b><%='Contributors'.t%>:</b></td>
  <td>
      <%@project.users.each do |u|%>
	  <%=@project.user_is_manager?(u.id)?"<font color=red>#{u.username}</font>":"<font color=green>#{u.username}</font>"%>
      <%end%>
  </td>
</tr>
<tr>
  <td><b><%='added at'.t%>:</b></td>
  <td><%=h @project.add_at%></td>
</tr>
<tr>
  <td><b><%='project general information'.t%>:</b></td>
  <td><%=h @project.general_info%></td>
</tr>
</table>
<div id='timelogs'>
<%=render :partial=>'time_logs/time_log'%>
</div>

